Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use False inside or Clickhouse query #26984

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

rafaeelaudibert
Copy link
Member

We're running this query in our big production account with a OR(..., NULL) and it's painfully slow. Running it on Metabase with OR(..., False) is much faster.

We're running this query in our big production account with a `OR(..., NULL)` and it's painfully slow. Running it on Metabase with `OR(..., False)` is much faster.
@rafaeelaudibert rafaeelaudibert enabled auto-merge (squash) December 17, 2024 17:33
Copy link
Member Author

@rafaeelaudibert rafaeelaudibert Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe we'll need to change any of our tests, let's see if CI will complain

@rafaeelaudibert rafaeelaudibert merged commit ce1c717 into master Dec 17, 2024
93 checks passed
@rafaeelaudibert rafaeelaudibert deleted the optimize-empty-comparison-query branch December 17, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants